home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _FECDF337A37D4A6BB259D1BC87D13ABC < prev   
Encoding:
Text File  |  2002-06-05  |  6.3 KB  |  340 lines

  1. {
  2.     \\ INGAME ABOUT BOX
  3.  
  4.     menuDef 
  5.     {
  6.         name        "ingame_about"
  7.         visible        0
  8.         fullscreen    0
  9.         rect        12 50 300 235
  10.  
  11.         ////////////////////////////////////////////////////////////////////////
  12.         //  Dialog frame
  13.         ////////////////////////////////////////////////////////////////////////
  14.  
  15.         itemDef
  16.         {
  17.             name        window
  18.             style        WINDOW_STYLE_SHADER
  19.             rect        -6 -6 306 241
  20.             background    "gfx/menus/ingame/background.png"
  21.             visible        1
  22.             decoration
  23.         }
  24.  
  25.         itemDef
  26.         {
  27.             name        window
  28.             style        WINDOW_STYLE_SHADER
  29.             rect        -12 -10 8 8
  30.             background    "gfx/menus/ingame/frame_topleft.png"
  31.             visible        1
  32.             decoration
  33.         }
  34.  
  35.         itemDef
  36.         {
  37.             name        window
  38.             style        WINDOW_STYLE_SHADER
  39.             rect        -7 -10 307 8
  40.             background    "gfx/menus/ingame/frame_top.png"
  41.             visible        1
  42.             decoration
  43.         }
  44.  
  45.         itemDef
  46.         {
  47.             name        window
  48.             style        WINDOW_STYLE_SHADER
  49.             rect        300 -10 8 8
  50.             background    "gfx/menus/ingame/frame_topright.png"
  51.             visible        1
  52.             decoration
  53.         }
  54.  
  55.         itemDef
  56.         {
  57.             name        window
  58.             style        WINDOW_STYLE_SHADER
  59.             rect        -12 235 8 8
  60.             background    "gfx/menus/ingame/frame_bottomleft.png"
  61.             visible        1
  62.             decoration
  63.         }
  64.  
  65.         itemDef
  66.         {
  67.             name        window
  68.             style        WINDOW_STYLE_SHADER
  69.             rect        -7 235 307 8
  70.             background    "gfx/menus/ingame/frame_bottom.png"
  71.             visible        1
  72.             decoration
  73.         }
  74.  
  75.         itemDef
  76.         {
  77.             name        window
  78.             style        WINDOW_STYLE_SHADER
  79.             rect        300 235 8 8
  80.             background    "gfx/menus/ingame/frame_bottomright.png"
  81.             visible        1
  82.             decoration
  83.         }
  84.  
  85.         itemDef
  86.         {
  87.             name        window
  88.             style        WINDOW_STYLE_SHADER
  89.             rect        300 -5 8 241
  90.             background    "gfx/menus/ingame/frame_right.png"
  91.             visible        1
  92.             decoration
  93.         }
  94.  
  95.         itemDef
  96.         {
  97.             name        window
  98.             style        WINDOW_STYLE_SHADER
  99.             rect        -12 -5 8 241
  100.             background    "gfx/menus/ingame/frame_left.png"
  101.             visible        1
  102.             decoration
  103.         }
  104.  
  105.         ////////////////////////////////////////////////////////////////////////
  106.         //  About Text
  107.         ////////////////////////////////////////////////////////////////////////
  108.  
  109.         itemDef 
  110.         {
  111.             name            window
  112.             rect            0 10 300 20
  113.             name            gametypefield
  114.             type            ITEM_TYPE_EDITFIELD
  115.               style            0    
  116.             cvar            cl_currentServerAddress
  117.             maxPaintChars    18
  118.             text            "Host:"
  119.               textalign        ITEM_ALIGN_RIGHT        
  120.               textalignx        128
  121.             textfont        "hud"
  122.             textscale        .40
  123.             forecolor        .12 .14 .08 1
  124.               visible            1
  125.             decoration
  126.         }
  127.  
  128.         itemDef 
  129.         {
  130.             name            window
  131.             rect            0 25 300 20
  132.             name            gametypefield
  133.             type            ITEM_TYPE_EDITFIELD
  134.               style            0    
  135.             cvar            ui_about_mapname 
  136.             maxPaintChars    18
  137.             text            "Map Name:"
  138.               textalign        ITEM_ALIGN_RIGHT        
  139.               textalignx        128
  140.             textfont        "hud"
  141.             textscale        .40
  142.             forecolor        .12 .14 .08 1
  143.               visible            1
  144.             decoration
  145.         }
  146.  
  147.         itemDef 
  148.         {
  149.             name            window
  150.             type            ITEM_TYPE_EDITFIELD    
  151.             rect            0 40 300 20
  152.             textalign        ITEM_ALIGN_RIGHT    
  153.             cvar            "ui_about_gametypename"        
  154.             text            "GameType:"
  155.             textalignx        128
  156.             textfont        "hud"
  157.             textscale        .40
  158.             forecolor        .12 .14 .08 1
  159.             visible            1
  160.             decoration
  161.         }
  162.  
  163.         itemDef 
  164.         {
  165.             name            window
  166.             type            ITEM_TYPE_EDITFIELD
  167.             rect            0 55 300 20
  168.             maxPaintChars    12
  169.             cvar            "ui_about_scorelimit"
  170.             text            "Score Limit:"
  171.               textalign        ITEM_ALIGN_RIGHT        
  172.               textalignx        128
  173.             textfont        "hud"
  174.             textscale        .40
  175.             forecolor        .12 .14 .08 1
  176.               visible            1
  177.             decoration
  178.         }
  179.  
  180.         itemDef 
  181.         {
  182.             name            window
  183.             type            ITEM_TYPE_EDITFIELD
  184.             rect            0 70 300 20
  185.             maxPaintChars    12
  186.             cvar            "ui_about_timelimit"
  187.             text            "Time Limit:"
  188.               textalign        ITEM_ALIGN_RIGHT        
  189.               textalignx        128
  190.             textfont        "hud"
  191.             textscale        .40
  192.             forecolor        .12 .14 .08 1
  193.               visible            1
  194.             decoration
  195.         }
  196.  
  197.         itemDef 
  198.         {
  199.             name            window
  200.             type            ITEM_TYPE_EDITFIELD
  201.             rect            0 95 300 20
  202.             cvar            "protocol"
  203.             maxPaintChars    12
  204.             text            "Protocol:"
  205.               textalign        ITEM_ALIGN_RIGHT        
  206.               textalignx        128
  207.             textfont        "hud"
  208.             textscale        .40
  209.             forecolor        .12 .14 .08 1
  210.               visible            1
  211.             decoration
  212.         }
  213.  
  214.         itemDef 
  215.         {
  216.             name            window
  217.             type            ITEM_TYPE_EDITFIELD
  218.             rect            0 110 300 20
  219.             cvar            "ui_about_maxclients"
  220.             maxPaintChars    12
  221.             text            "Max Clients:"
  222.               textalign        ITEM_ALIGN_RIGHT        
  223.               textalignx        128
  224.             textfont        "hud"
  225.             textscale        .40
  226.             forecolor        .12 .14 .08 1
  227.               visible            1
  228.             decoration
  229.         }
  230.  
  231.         itemDef 
  232.         {
  233.             name            window
  234.             type            ITEM_TYPE_EDITFIELD
  235.             rect            0 125 300 20
  236.             cvar            "ui_about_hostname"
  237.             maxPaintChars    12
  238.             text            "Host Name:"
  239.               textalign        ITEM_ALIGN_RIGHT        
  240.               textalignx        128
  241.             textfont        "hud"
  242.             textscale        .40
  243.             forecolor        .12 .14 .08 1
  244.               visible            1
  245.             decoration
  246.         }
  247.  
  248.         itemDef 
  249.         {
  250.             name            window
  251.             rect            0 150 300 20
  252.             type            ITEM_TYPE_YESNO
  253.             cvar            "ui_about_needpass"
  254.             text            "Password:"
  255.               textalign        ITEM_ALIGN_RIGHT        
  256.               textalignx        128
  257.             textfont        "hud"
  258.             textscale        .40
  259.             forecolor        .12 .14 .08 1
  260.               visible            1
  261.             decoration
  262.         }
  263.  
  264.         itemDef 
  265.         {
  266.             name            window
  267.             rect            0 165 300 20
  268.             type            ITEM_TYPE_YESNO
  269.             cvar            "ui_about_dmflags"
  270.             text            "DM Flags:"
  271.               textalign        ITEM_ALIGN_RIGHT        
  272.               textalignx        128
  273.             textfont        "hud"
  274.             textscale        .40
  275.             forecolor        .12 .14 .08 1
  276.               visible            1
  277.             decoration
  278.         }
  279.  
  280.         itemDef 
  281.         {
  282.             name            window
  283.             rect            0 180 300 20
  284.             type            ITEM_TYPE_EDITFIELD
  285.             cvar            "ui_about_seed"
  286.             text            "RMG Seed:"
  287.               textalign        ITEM_ALIGN_RIGHT        
  288.               textalignx        128
  289.             textfont        "hud"
  290.             textscale        .40
  291.             forecolor        .12 .14 .08 1
  292.               visible            1
  293.             decoration
  294.  
  295.             cvarTest        "RMG"
  296.  
  297.             hideCvar
  298.             {
  299.                 "0"
  300.             }
  301.         }
  302.  
  303.  
  304. /*
  305.         itemDef 
  306.         {
  307.             name            window
  308.             type            ITEM_TYPE_YESNO
  309.             rect            0 180 300 20
  310.             cvar            "bot_minplayers"
  311.             text            "Bot/Min:"
  312.               textalign        ITEM_ALIGN_RIGHT        
  313.               textalignx        128
  314.             textfont        "hud"
  315.             textscale        .40
  316.             forecolor        .12 .14 .08 1
  317.               visible            1
  318.             decoration
  319.         }
  320. */
  321.  
  322.         itemDef 
  323.         {
  324.             name            window
  325.             type            ITEM_TYPE_EDITFIELD
  326.             rect            0 205 300 20
  327.             cvar            "version"
  328.             maxPaintChars    32
  329.             text            "Version:"
  330.               textalign        ITEM_ALIGN_LEFT
  331.               textalignx        5
  332.             textfont        "hud"
  333.             textscale        .40
  334.             forecolor        .12 .14 .08 1
  335.               visible            1
  336.             decoration
  337.         }
  338.     }
  339. }
  340.